Tools
Tools provide agent ability to interact with other systems via programmatic APIs and access the data not known by the LLM (e.g. current date and time).
Two types of tools are supported:
-
Customer-defined tools – typically used to interact with other systems via programmatic APIs (For example, access data in your calendar). These tools must be configured by customer as described below.
-
Pre-defined tools – Live Hub AI Framework provides a few pre-defined tools that address common tools usage scenarios. These tools are accessible to any agent that wants to use them.
Each tool consists of the following elements:
-
Description – describes the tool’s purpose.
-
Schema – definition of parameters accepted by the tool; for each parameter name, description and type are defined.
-
Business logic – implementation of tool’s business logic; for example for custom tools you define URL and HTTP method, and the tool’s business logic sends RESTful API request to the specified URL with parameters defined by schema.
You only need to specify schema for tool’s 'input' parameters. LLM automatically parses the tool’s response (result), and automatically identifies its schema.